/*
 * 轻落华有限公司 拥有本软件版权 2021 并保留所有权利。
 * Copyright 2021, QingLuoHua,
 * All rights reserved.
 */
package com.qlh.lawyermanager.dongao.mapper;

import com.qlh.lawyermanager.dongao.entity.Lawyer;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 律师档案操作：创建、查询、修改、删除
 * @author li guihong
 * @version 1.0
 * @date 2023/1/2
 */
@Mapper
public interface LawyerMapper {
    /**
     * 添加律师(创建律师档案)
     *
     * @param lawyer 包含律师信息的对象
     * @return 创建成功返回1，否则返回0
     */
    public int insertLawyer(@Param("lawyer") Lawyer lawyer);
}